<include file="Public/min-header" />
<div class="wrapper">
	<include file="Public/breadcrumb"/>		
    <section class="content ">
        <!-- Main content -->
        <div class="container-fluid">
            <div class="pull-right">
                <a href="javascript:history.go(-1)" data-toggle="tooltip" title="" class="btn btn-default" data-original-title="返回"><i class="fa fa-reply"></i></a>
            	<a href="javascript:;" class="btn btn-default" data-url="http://www.tp-shop.cn/Doc/Index/article/id/1020/developer/user.html" onclick="get_help(this)"><i class="fa fa-question-circle"></i> 帮助</a>
            </div>
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title"><i class="fa fa-list"></i>退款</h3>
                </div>
                <div class="panel-body ">   
                    <!--表单数据-->
                    <form method="post" id="return_form" action="{:U('Admin/Order/return_order_info')}">
                        <!--通用信息-->
                    <div class="tab-content col-md-10">                 	  
                        <div class="tab-pane active" id="tab_tongyong">                           
                            <table class="table table-bordered">
                                <tbody>
                                <tr>
                                    <td class="col-sm-2">订单编号：</td>
                                    <td class="col-sm-8">
                                        <a href="{:U('Admin/order/detail',array('order_id'=>$return_goods['order_id']))}">{$return_order.order_sn}</a>
                                    </td>
                                </tr>  
                                <tr>
                                    <td>用户：</td>
                                    <td>                    
					                    {$user.nickname}
                                    </td>
                                </tr>
                                <tr>
                                    <td>订单付款金额：</td>
                                    <td>
                                        {$order.order_amount}
                                    </td>
                                </tr>
                                <tr>
                                    <td>申请日期：</td>
                                    <td>                    
					                    {$return_order.addtime|date="Y-m-d H:i",###}
                                    </td>
                                </tr>
                                <tr>
                                    <td>状态：</td>
                                    <td>
                                        <if condition="$return_order['status'] eq 0">未处理</if>
                                        <if condition="$return_order['status'] eq 1">处理中</if>
                                        <if condition="$return_order['status'] eq 2">已完成</if>
                                    </td>
                                </tr>

                                <tr>
                                    <td>退货描述：</td>
                                    <td>                    
					                    <textarea name="reason" id="reason" cols="" rows="" readonly="readonly" class="area" style="width:400px; height:120px;">{$return_order['reason']}</textarea>
                                    </td>
                                </tr>


                                <tr>
                                    <td>操作：</td>
                                    <td>
                                        <!--<a href="{:U('Admin/Order/return_user_money',array('id'=>$return_order[id],'order_id'=>$return_order[order_id]))}">-->
                                            <!--<input class="btn btn-primary" type="button"  value="退款到余额">-->
                                        <!--</a>-->

                                        <a href="{:U('Admin/Order/return_weixin_money',array('id'=>$return_order[id],'order_id'=>$return_order[order_id]))}">
                                            <input class="btn btn-primary" type="button"  value="退款到微信">
                                        </a>
                                        <a href="{:U('Admin/Order/return_reject',array('id'=>$return_order[id]))}">
                                            <input class="btn btn-primary" type="button"  value="拒绝退款">
                                        </a>

                                        <a href="{:U('Admin/Order/return_order_list')}">
                                            <input class="btn btn-primary" type="button"  value="返回列表">
                                        </a>
                                    </td>
                                </tr>


                                <!--<tr>-->
                                    <!--<td>处理备注：</td>-->
                                    <!--<td>-->
					                    <!--<textarea name="remark" id="remark" cols="" rows=""  class="area" style="width:400px; height:120px;">{$return_order['remark']}</textarea>-->
                                    <!--</td>-->
                                <!--</tr>-->
                                </tbody> 
                                <!--<tfoot>-->
                                	<!--<tr>-->
                                	<!--<td><input type="hidden" name="id" value="{$return_order.id}">-->
                                	<!--</td>-->
                                	<!--<td class="text-right"><input class="btn btn-primary" type="submit"  value="保存"></td></tr>-->
                                <!--</tfoot>                               -->
                                </table>
                        </div>                           
                    </div>              
			    	</form><!--表单数据-->
                </div>
            </div>
        </div>
    </section>
</div>
<script>
function adsubmit(){
	$('#handleposition').submit();
}
</script>
</body>
</html>